<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="pojo.*,service.*,java.util.*,java.text.*"%>


<head>
<script type="text/javascript">
function tiao(){
	location.href="../TableType.jsp";
	};
	setTimeout(tiao,1000);


</script>

</head>
<body>

<%
		request.setCharacterEncoding("utf-8");

		String name = (String)request.getParameter("name").trim();

		String Id = request.getParameter("Id").trim();
		
		int id=Integer.parseInt(Id);
		
		TableService dms = new TableService(); 
		
	    dms.UpadateTypeInfor(name,id);
	    out.print("修改成功");		
		 
%>


</body>
